﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hopeless.Physical
{
    class Enhancement
    {
        public Enhancement(string name, int maxLevel)
        {
            _name = name;
            _maxLevel = maxLevel;
        }

        private string _name;
        public string Name
        {
            get { return _name; }
        }

        private int _level;
        public int Level
        {
            get { return _level; }
        }

        private int _maxLevel;
        public int MaxLevel
        {
            get { return _maxLevel; }
        }

        public void RaiseLevel()
        {
            if (_level < _maxLevel)
                _level++;
        }
    }
}
